<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:56:"C:\xampp\htdocs\gyrjy\templates\default\index\index.html";i:1534256479;s:63:"C:\xampp\htdocs\gyrjy\templates\default\common\header_test.html";i:1534256479;s:63:"C:\xampp\htdocs\gyrjy\templates\default\common\footer_test.html";i:1534256479;}*/ ?>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<meta name="viewport"    content="width=device-width, initial-scale=1.0">
	<meta name="keywords" content="<?php echo (isset($seo['keywords']) && ($seo['keywords'] !== '')?$seo['keywords']:'内容管理系统'); ?>">
    <meta name="description" content="<?php echo (isset($seo['description']) && ($seo['description'] !== '')?$seo['description']:''); ?>">
	
	<title>贵阳软件园</title>

	<link rel="shortcut icon" href="<?php echo get_root(); ?>/favicon.ico">
	
    <link rel="stylesheet" type="text/css" href="<?php echo get_root(); ?>/third/index/css/style.css">
    <style type="text/css" id="insert_style"></style>
    <script src="<?php echo get_root(); ?>/third/index/js/jquery-1.11.3.min.js"></script>
    <!--<script src="<?php echo get_root(); ?>/third/index/js/unslider.min.js"></script>-->
    <link rel="stylesheet" href="<?php echo get_root(); ?>/third/index/css/ft-carousel.css" />
        <!-- Bootstrap -->
    <link href="<?php echo get_root(); ?>/third/index/css/bootstrap.no-icons.min.css" rel="stylesheet">
    <!-- Custom styles -->
    <link rel="stylesheet" href="<?php echo get_root(); ?>/third/index/css/lists.css">
    <link rel="stylesheet" href="<?php echo get_root(); ?>/third/index/css/little_banner.css" />
	
</head>
<body class="home" id="body">
	    <div id="all-content">
        <!-- logo 和 搜索框 -->
        <div class="strip" style="background-color: #01B0F1">
            <div class="strip-70wall" style="height: 95px;">
				<!--logo-->
                <div class="top-show-img" style="width: 27%;">
                    <img style="height: 80px;" src="<?php echo get_root(); ?>/third/index/img/logo.png">
                </div>
                <div class="top-show-img" style="width: 40%;">
                    <img style="height: 75px;margin-top: 10px;" src="<?php echo get_root(); ?>/third/index/img/logo-sign.png">
                </div>
				<!--搜索-->
                <div class="top-show-img" style="width: 32%;float: right;">
                    <div style="width: 50px;height: 32.33px;background-color:#2489df;float: right;margin-top: 35px;border-top-right-radius: 5px;border-bottom-right-radius: 5px;text-align: center;">
                        <input type="image" src="<?php echo get_root(); ?>/third/index/img/search.png" style="width: 30px;height: 30px;" onclick="search();return false;">
						<!--<img src="<?php echo get_root(); ?>/third/index/img/search.png"  style="height: 28px;margin-top: 2px;">-->
                    </div>
					<form style="padding: 0px; margin: 0px;" method="get" name="frm" action="/index/content/search" target="_blank" onsubmit="return searchOnsubmit();">
						<div style="width: 70%;padding: 5px;margin-top: 35px;float: right;background-color: #fff;">
							<input type="text" placeholder="请输入您要搜索的内容..." size="12" name="q" value="" tabindex="4" style="width: 100%;font-size: 16px;outline: 0px;border: 0px;">
						</div>
					</form>
                </div>
				<script>
						function searchOnsubmit() {
							if (frm.q.value == '') {
								alert('请输入检索关键字！');
								frm.q.focus();
								return false;
							}
						}

						function search() {
							if (frm.q.value == '') {
								alert('请输入检索关键字！');
								frm.q.focus();
								return false;
							} else {
								frm.submit();
							}
						}
					</script>
            </div>
        </div>
        <!-- 导航 -->
        <div class="strip" style="background-color: #2170b4;height: 41.5px;">
            <div class="strip-70wall">
                <div class="navigationDiv">
                    <table class="navigationTable">
                        <tbody>
                            <tr class="navigationTr">
								<?php $nav = [];$_where = [];$_where['status'] = ['eq',1];$_where['mark'] = ['eq','main'];if($_cate = \app\admin\model\Navcate::where($_where) -> find()){ $nav = $_cate -> nav() -> where('status',1) -> order('sort desc,id asc') -> select();$nav = \ebcms\Tree::tree($nav); } if(is_array($nav) || $nav instanceof \think\Collection): if( count($nav)==0 ) : echo "" ;else: foreach($nav as $key=>$vo): if(!(empty($vo['rows']) || ($vo['rows'] instanceof \think\Collection && $vo['rows']->isEmpty()))): ?>
									<td class="navigationTd navigation-block">
										<div class="navigationTdDivParent">
											<a href="<?php echo $vo['url']; ?>" class="navigationTdDivParent"><?php echo $vo['title']; ?></a>
										</div>
										<div class="navigationTdDivChild">
											<?php if(is_array($vo['rows']) || $vo['rows'] instanceof \think\Collection): if( count($vo['rows'])==0 ) : echo "" ;else: foreach($vo['rows'] as $key=>$sub): ?>
												<a href="<?php echo $sub['url']; ?>">
													<div class="navigationTdDivChildDiv">
														<?php echo $sub['title']; ?>
													</div>
												</a>
											<?php endforeach; endif; else: echo "" ;endif; ?>
										</div>
                               		 </td>
									<?php else: ?>
									<td class="navigationTd navigation-block">
										<div class="navigationTdDivParent">
											<a href="<?php echo $vo['url']; ?>" class="navigationTdDivParent"><?php echo $vo['title']; ?></a>
										</div>
                                	</td>
									<?php endif; endforeach; endif; else: echo "" ;endif; ?>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>
            <div class="clear_both"></div>
        </div>
		<?php $data = [];$_where = [];$_where['mark'] = ['eq','index_slide'];$_where['status'] = ['eq',1];if($_cate = \app\admin\model\Recommendcate::where($_where) -> find()){ $data = $_cate -> recommend()  -> order('sort desc,id desc') -> limit('5') -> where('status',1) -> select(); } if(!(empty($data) || ($data instanceof \think\Collection && $data->isEmpty()))): ?>
 		<div class="strip" style="max-width: 1920px;margin: 0 auto;overflow: hidden;">
            <div class="example" id="banner_block">
                <div class="ft-carousel" id="carousel_3">
                    <ul class="carousel-inner">
						<?php if(is_array($data) || $data instanceof \think\Collection): if( count($data)==0 ) : echo "" ;else: foreach($data as $key=>$vo): ?>
							<li class="carousel-item"><img src="/upload/<?php echo $vo['thumb']; ?>"></li>
						<?php endforeach; endif; else: echo "" ;endif; ?>
                    </ul>
                </div>
            </div>
        </div>
		<?php endif; ?>
        <!-- /banner -->
        <!-- banner底下的 -->
        <div class="strip" style="background-color: #000">
            <div class="strip-70wall">
                <div style="text-align: center;padding-top: 10px;padding-bottom: 10px;">
                    <div class="carousel">
                        <marquee direction="left" align="bottom" width="100%" onmouseout="this.start()" onmouseover="this.stop()" scrollamount="2" scrolldelay="1">
                            这里是创新的乐土，创业的乐土，创富的乐土
                        </marquee>
                    </div>
                    <div class="carousel">
                        <marquee direction="left" align="bottom" width="100%" onmouseout="this.start()" onmouseover="this.stop()" scrollamount="2" scrolldelay="1">
                            通知公告：园区新闻
                        </marquee>
                    </div>
                    <div class="carousel">
                        <marquee direction="left" align="bottom" width="100%" onmouseout="this.start()" onmouseover="this.stop()" scrollamount="2" scrolldelay="1">
                            关于云上贵州系统平台用户单位网站备案的消息
                        </marquee>
                    </div>
                    <div class="clear_both"></div>
                </div>
            </div>
        </div>
        <!-- 底下的 -->
        <!--<div style="background-color: #000">
            <div style="text-align: center;padding-top: 10px;padding-bottom: 10px;">-->
                
                <!-- <div class="col-md-6 widget">
                    <div class="widget-body">
                        <p>GuiYang,China </p>
                    </div>
                </div> -->
                <!--<p style="color: #fff;">通知公告：关于园区的部分政策…</p>


            </div> 
        </div>-->

        <main id="main">
            <div class="container">
                <!-- <div class="row section topspace">
                    <div class="col-md-12">
                        <p class="lead text-center text-muted"> 欢迎来到贵阳软件园，这里将会带给你不一样的科技体验 </p>
                    </div>
                </div> -->
                <!--列表1-->
                <div class="row section featured topspace">
                    <!-- <h2 class="section-title"><span>产业新闻</span></h2> -->
                    <div class="row">
                        
                        <div class="col-sm-6 col-md-8">
                            <h3 class="text" style="height: 60px;" >园区动态<a href="/index/content/index/id/2" style="float: right;">更多 ></a></h3>
                            <div class="js-silder">
                               <div class="silder-scroll">
                                    <div class="silder-main">
                                        <?php $qiyelist = [];$_where = [];$_category_id = '2';$_category_id = [$_category_id];$_where['category_id'] = ['in',$_category_id];$_where['status'] = ['eq',1];$_m = \app\content\model\Content::where($_where);$_m -> order('id desc');$_m -> limit('3');$qiyelist = $_m -> select(); if(is_array($qiyelist) || $qiyelist instanceof \think\Collection): if( count($qiyelist)==0 ) : echo "" ;else: foreach($qiyelist as $k=>$vo): if($k == 0): ?>
                                        <div class="silder-main-img">
                                            <a href="<?php echo $vo['url']; ?>" style="color: #000">
                                                <img src="<?php echo get_root(); ?>/upload<?php echo $vo['thumb']; ?>" style="width:50%;float: left;padding: 10px;" alt="">
                                                <div style="width: 50%;float: left;padding: 10px;">
                                                    <p style="text-align: center;font-size: 20px;"><b><?php echo mb_substr($vo['title'],0,10); ?></b></p>
                                                    <p><?php echo mb_substr($vo['description'],0,50); ?></p>
                                                </div>
                                            </a>
                                        </div>
										<?php else: ?>
                                        <div class="silder-main-img">
                                            <a href="<?php echo $vo['url']; ?>" style="color: #000">
                                                <img src="<?php echo get_root(); ?>/upload<?php echo $vo['thumb']; ?>" style="width:50%;float: left;padding: 10px;" alt="">
                                                <div style="width: 50%;float: left;padding: 10px;">
                                                    <p style="text-align: center;font-size: 20px;"><b><?php echo mb_substr($vo['title'],0,10); ?></b></p>
                                                    <p><?php echo mb_substr($vo['description'],0,50); ?></p>
                                                </div>
                                            </a>
                                        </div>
											<?php endif; endforeach; endif; else: echo "" ;endif; ?>
                                        
                                    </div>
                                </div>
                            </div>
                            
                        </div>
                        <div class="col-sm-6 col-md-4">
                            <h3 class="text" style="height: 60px;" >创业故事</h3>
                            <a class="thumbnail">
                                <span class="img">
                                    <video controls="controls" width="100%" height="100%"><source src="<?php echo get_root(); ?>/third/index/img/贵阳高新区宣传片.mp4" type="video/mp4"></video>
                                    <span class="cover"><span class="more">详情 &rarr;</span></span>
                                </span>
                            </a>
                        </div>
                            
                    </div>
                </div> 
            
                <!--列表2-->
                <div class="row section recentworks topspace">
                    <h2 class="section-title"><span>发展环境</span></h2>
                    <div class="thumbnails recentworks row">
                        <?php $qiyelist = [];$_where = [];$_category_id = '2';$_category_id = [$_category_id];$_where['category_id'] = ['in',$_category_id];$_where['status'] = ['eq',1];$_m = \app\content\model\Content::where($_where);$_m -> order('id desc');$_m -> limit('3');$qiyelist = $_m -> select(); if(is_array($qiyelist) || $qiyelist instanceof \think\Collection): if( count($qiyelist)==0 ) : echo "" ;else: foreach($qiyelist as $k=>$vo): if($k == 0): ?>
                            <div class="col-xs-12 col-sm-6 col-md-4 col-lg-4">
                                <a class="thumbnail" href="<?php echo $vo['url']; ?>">
                                    <span class="img">
                                        <img src="<?php echo get_root(); ?>/upload<?php echo $vo['thumb']; ?>" alt="<?php echo mb_substr($vo['description'],0,25); ?>">
                                        <span class="cover"><span class="more">详情 &rarr;</span></span>
                                    </span>
                                    <span class="title"><?php echo mb_substr($vo['title'],0,18); ?></span>
                                </a>
                            </div>
                            <?php else: ?>
                            <div class="col-xs-12 col-sm-6 col-md-4 col-lg-4">
                                <a class="thumbnail" href="<?php echo $vo['url']; ?>">
                                    <span class="img">
                                        <img src="<?php echo get_root(); ?>/upload<?php echo $vo['thumb']; ?>" alt="<?php echo mb_substr($vo['description'],0,25); ?>">
                                        <span class="cover"><span class="more">详情 &rarr;</span></span>
                                    </span>
                                    <span class="title"><?php echo mb_substr($vo['title'],0,18); ?></span>
                                </a>
                            </div>
                            <?php endif; endforeach; endif; else: echo "" ;endif; ?>
                        
                    </div>
                </div> 

                <!-- 合作伙伴 -->
                <div class="row section clients topspace">
                    <h2 class="section-title"><span>合作伙伴</span></h2>
                    <div class="col-xs-3 col-sm-3">
                        <img src="<?php echo get_root(); ?>/static/index/image/多彩贵州网 logo01.png" width="180px" alt="">
                    </div>
                    <div class="col-xs-3 col-sm-3">
                        <img src="<?php echo get_root(); ?>/static/index/image/优易数据logo.jpg" width="180px" alt="">
                    </div>
                    <div class="col-xs-3 col-sm-3">
                        <img src="<?php echo get_root(); ?>/static/index/image/食品安全云新logo.png" width="180px" alt="">
                    </div>
                    <div class="col-xs-3 col-sm-3">
                        <img src="<?php echo get_root(); ?>/static/index/image/联合制造.png" width="180px" alt="">
                    </div>
                </div> 
            </div>  
        </main>



</header>



        <footer id="underfooter">
            <div class="container">
                <div class="row" style="text-align: center;padding-top: 10px;padding-bottom: 10px;">
                    
                    <!-- <div class="col-md-6 widget">
                        <div class="widget-body">
                            <p>GuiYang,China </p>
                        </div>
                    </div> -->
                    <p>网站版权所有：贵阳火炬软件园管理办公室  咨询热线：0851-84123141</p>
                    <p>贵公网安备 52011502000193号  黔ICP备11002881号-5</p>


                </div> 
            </div>
        </footer>
    </div>

</body>
<script type="text/javascript">
    var scrollFunc = function(e) {
        e = e || window.event;
        if (e.wheelDelta && event.ctrlKey) { //IE/Opera/Chrome
            event.returnValue = false;
        } else if (e.detail) { //Firefox
            event.returnValue = false;
        }
    }
/*注册事件*/
if (document.addEventListener) {
    document.addEventListener('DOMMouseScroll', scrollFunc, false);
} //W3C
window.onmousewheel = document.onmousewheel = scrollFunc; //IE/Opera/Chrome/Safari
</script>
</script>
<script type="text/javascript">
window.onresize = function() {
    var wLHref=window.location.href;
    window.location=wLHref;
}
window.onload = function() {
    AdapteNavigation();
    AdapteBannerWidthHeight();
    DisablePageRefresh();
}

function AdapteNavigation() {
    var navigation_block = document.getElementsByClassName('navigation-block');
    for (var i = 0; i < navigation_block.length; i++) {
        if (navigation_block[i].childNodes.length > 0) {}
    }
    var insert_script = document.getElementById('insert_style');
    var block_width = 100.0 / navigation_block.length;
    insert_style.innerHTML = ".js-navigation-width{width:" + block_width + "%;}";
}

function AdapteBannerWidthHeight() {
    var banner_block = document.getElementById('banner_block');
    var insert_script = document.getElementById('insert_style');
    var block_width = "100%";
    var block_height = banner_block.clientWidth / 3 + "px";
    insert_style.innerHTML = ".example{height:" + block_height + ";}";
}

function DisablePageRefresh() {
    document.addEventListener('DOMContentLoaded', function(event) {
        // chrome 浏览器直接加上下面这个样式就行了，但是ff不识别
        document.body.style.zoom = 'reset';
        document.addEventListener('keydown', function(event) {
            if ((event.ctrlKey === true || event.metaKey === true) &&
                (event.which === 61 || event.which === 107 ||
                    event.which === 173 || event.which === 109 ||
                    event.which === 187 || event.which === 189)) {
                event.preventDefault();
                alert(51);
            }
        }, false);
        document.addEventListener('mousewheel DOMMouseScroll', function(event) {
            if (event.ctrlKey === true || event.metaKey) {
                event.preventDefault();
            }
        }, false);
    }, false);
}
</script>
<script src="<?php echo get_root(); ?>/third/index/js/jquery.min.js"></script>
<script src="<?php echo get_root(); ?>/third/index/js/ft-carousel.min.js"></script>
<script type="text/javascript">
$("#carousel_3").FtCarousel({
    index: 0,
    auto: true,
    time: 3000,
    indicators: false,
    buttons: true
});
</script>
<!-- littlebanner -->
<script src="<?php echo get_root(); ?>/third/index/js/jquery-1.11.3.min.js" type="text/javascript"></script>
<script src="<?php echo get_root(); ?>/third/index/js/wySilder.min.js" type="text/javascript"></script>

<script>
    $(function (){
        $(".js-silder").silder({
            auto: true,//自动播放，传入任何可以转化为true的值都会自动轮播
            speed: 20,//轮播图运动速度
            sideCtrl: false,//是否需要侧边控制按钮
            bottomCtrl: true,//是否需要底部控制按钮
            defaultView: 0,//默认显示的索引
            interval: 5000,//自动轮播的时间，以毫秒为单位，默认3000毫秒
            activeClass: "active",//小的控制按钮激活的样式，不包括作用两边，默认active
        });
    });
</script>

</html>